package com.example.questionsystem.modules.qu.entity;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PackageRequest {
    @NotNull(message = "项目ID不能为空")
    private String  selectedProjectId;
    private String  selectedSubjectId;
    private String sessionName;
    private int totalScore;
    @Valid
    @NotEmpty(message = "题型配置不能为空")
    private List<QuestionType> questionTypes;
    private String isRandom;
    private String outputPath;
    private String selectedSessionName;
    private String password;//打包密码
    private String encryptPassword;// 数据加密密码



}